package com.qinglei.recoup.hmp.pojo.vo;

import com.qinglei.recoup.system.pojo.HealthStatusCommentVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>description</p>
 *
 * @author shiyupeng
 * @date 2022/1/8
 */
@Data
@ApiModel(description = "小程序睡眠报告基础数据对象")
public class HmpSleepReportBasicVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "床位ID")
    private Integer bedId;

    @ApiModelProperty(value = "床位名称")
    private String bedName;

    @ApiModelProperty(value = "统计日期 格式 2020年1月10日")
    private String statisticsDate;

    @ApiModelProperty(value = "有统计数据的起始日期 格式 2020-01-10")
    private String firstDate;

    @ApiModelProperty(value = "睡眠得分")
    private Long score;

    @ApiModelProperty(value = "评价 【该字段怎么得出来】")
    private String comment;

    @ApiModelProperty(value = "比率")
    private Integer proportion;

    @ApiModelProperty(value = "正向报告")
    private String positiveResult;

    @ApiModelProperty(value = "负面报告列表")
    private List<NegativeItemVO> negativeList;

    @ApiModelProperty(value = "睡眠详情列表")
    private List<SleepItemVO> sleepInfo;

    @ApiModelProperty(value = "上床时间 格式：20:00")
    private String getBedTime;

    @ApiModelProperty(value = "入睡时间 格式：20:00")
    private String beginTime;

    @ApiModelProperty(value = "晨醒时间 格式：05:49")
    private String endTime;

    @ApiModelProperty(value = "起床时间 格式：05:58")
    private String leaveBedTime;

    @ApiModelProperty(value = "健康状态")
    private HealthStatusCommentVO healthStatus;

    private Integer resultFlag;  //数据解析标志位(0:数据解析成功；1:整晚 在床时间过短；2:数据异常,算法不进行 解算；大于10的数值是丢包率太高 ）

    private Map<String,Object> gradeMap;

    @ApiModelProperty(value = "睡眠总时长 单位分钟")
    private Integer sleepDuration;

    @ApiModelProperty(value = "有效睡眠时长/min")
    private String  sleepLenValidMin;

}
